{* Smarty *}

<div class="header">{if $kv.s_key==""}Add{else}Edit{/if} setting pair</div><br />
<br />
<table cellpadding="2" cellspacing="1" border="1">
<form action="{geturl plugin=_this method="null"}" method="POST">
<input type="hidden" name="event" value="doSettingSubmit" />
<tr class="light">
	<td style="text-align:right;padding-right:5px;">Key:</td>
	<td><input type="text" name="key" value="{$kv.s_key}" class="input_text" style="width: 350px;" /></td>
</tr>
<tr class="dark">
	<td style="text-align:right;padding-right:5px;">Value:</td>
	<td><textarea name="value" class="input_text" style="width: 350px; height: 125px;">{$kv.s_value}</textarea></td>
</tr>
<tr class="light">
	<td style="text-align:right;padding-right:5px;"></td>
	<td>
		<input type="submit" value=" Submit " class="button" />
		<input type="button" value=" Cancel " class="button" onclick="javascript: window.location.href='{geturl plugin=_this method="null" }'; " />
	</td>
</tr>
</form>
</table>
